from app import db, loginmanager




class RoleResource(db.Model):
    __tablename__ = 'sys_role_resource'
    role_id = db.Column(db.String(36), db.ForeignKey("sys_role.id"), primary_key=True, comment='角色id')
    resource_id = db.Column(db.String(36), db.ForeignKey("sys_resource.id"), primary_key=True, comment='资源id')

